package factoryModel.simpleFactory;

/**
 * @author 帅小伙
 * @date 2021/12/29
 * @description
 */
public class PizzaStore {

    private SimplePizzaFactory pizzaFactory  = new SimplePizzaFactory();

    public void orderPizza(String type){
        AHPizza pizza = pizzaFactory.createPizza(type);
        System.out.println("pizza完成  继续其他操作");
    }




}
